﻿using System;

namespace LeapYear
{
    class LeapYear
    {
        static string IsLeap(int year)
        {
            if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
            {
                return "The year is leap.";
            }
            else
            {
                return "The year is not leap.";
            }
        }

        static void Main()
        {
            Console.Write("Please enter year: ");
            int year = int.Parse(Console.ReadLine());
            string result = IsLeap(year);
            Console.WriteLine(result);
        }
    }
}
